package com.qch.concurrent.demo_06_daemon;

/**
 * @Author qch
 * @Date 2021/7/29
 */
public class MyDaemonThread extends Thread {
    @Override
    public void run() {
        while (true)
        {
            System.out.println("守护线程");
            try {
                Thread.sleep(500);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }
}
